<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="webapps/admin/stylesheets/admin.css" />
<link type="text/css" rel="stylesheet" href="webapps/styles/table_dis.css" />
<script type="text/javascript" src="webapps/scripts/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#tab tr").hover(function(){$(this).css("background","#DEEBFC");},function(){$(this).css("background","#FFF");});
});
</script>
<title><{$title}></title>
</head>

<body>
<table width="100%" cellpadding="1" cellspacing="1" border="0" id="tab">
  <tr>
    <th colspan="5" style="background-color:#4F9AD0;">通知列表</th>
  </tr>
  <tr>
    <td width="8%">通知编号</td>
    <td width="20%">通知标题</td>
    <td width="25%">通知摘要</td>
    <td width="10%">发布时间</td>
    <td width="10%">操作</td>
  </tr>
  <{if $res_notice == "NULL"}>
  <tr>
  	<td colspan="5" style="color:red;">暂没有通知！</td>
  </tr>
  <{else}>
  <{section name=tmp_res_notice loop=$res_notice}>
  <tr>
    <td><{$res_notice[tmp_res_notice].id}></td>
    <td><{$res_notice[tmp_res_notice].title|truncate:80}> <img src="webapps/images/hot/<{$res_notice[tmp_res_notice].hot}>.gif" /></td>
    <td><{$res_notice[tmp_res_notice].content|truncate:100}></td>
    <td><{$res_notice[tmp_res_notice].postdate}></td>
    <td><a href="index.php?controller=admin&action=delNotice&id=<{$res_notice[tmp_res_notice].id}>" onclick="javascript:return confirm('你确定要删除吗？');">删除</a></td>
  </tr>
  <{/section}>
  <{/if}>
</table>
</body>
</html>
